package swim2.sessionbeans;

import java.util.ArrayList;

import javax.ejb.Remote;

import swim2.entitybeans.Ability;

@Remote
public interface AdminSystemRemote {
	
	public int insertAbility(String name, String description);
	
	public ArrayList<String> getAllAbilityRequests();
	
	public ArrayList<String> getNewAbilityRequests();
	
	public ArrayList<String> getAbRequestData(String name);
	
	public void setViewedRequest(String name);
	
	public void deleteAbRequest(String name);
	
	public int checkExistingRequest(String name);
	
	public String getUserNameAndSurname(String mail);
	
	public ArrayList<Ability> getAllAbilities();
	
	public int deleteAbility(int abId);
	
	public Ability getAbility(int id);
	
	public int updateAbility(int abId, String newName, String newDescr);
}

